home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 6
/
FM Towns Free Software Collection 6.iso
/
data
/
fapx
/
fapxtml1.plp
< prev
next >
Wrap
Text File
|
1993-07-08
|
2KB
|
72 lines
/* Down all text of one mail(圧縮モード) */
%AllText{
loop({
wait(Wtime2*5,{break;im({Yes})},
{ 題名:},
{wait(Wtime2,{AbortOff({\nホストの反応が鈍いよぉ~\n})},
{\n},
{%a @laststr(128);
TITLE:=@getchar(@getline(a,@noline(a)-2),4,17)|
@tail(a,{題名:},{\n})});
im({Yes})},
{はバイナリーのため、表示出来ません◆\n},
{BMcnt:=BMcnt+1;im({Yes})},
{:転送+削除 E:終了)\n:},
{wait(2);
case(@nochar(@tail(@laststr,{E:終了)\n:}))>0,
{Yes},{im({Yes})},
{No},
{stoprec;
%file @nowfile2(TEMP2|{_mopterm.eml},TEMP);
write(LOG2|{TITLE\NIFMAIL.TXT},
file|{ }|TITLE|{ \n});
delfile(TEMP2|{_mopterm.eml});
receive(TEMP2|{_mopterm.eml});
type({2\n});
im({Yes})});
},
{続き (改行で表示 E:終了)\n>},
{wait(2);
case(@nochar(@tail(@laststr,{E:終了)\n:}))>0,
{Yes},{im({Yes})},
{No},{type({\n});im({Yes})})},
{NAPLPSのデコーダーが必要です。準備 (1:OK 2:NG) \n:},
{wait(2);
case(@nochar(@tail(@laststr,{2:NG) \n:}))>0,
{Yes},{im({Yes})},
{No},
{type({1\n});wait(5);type({\n});
wait(,, {:転送+削除 E:終了)\n:},
{
stoprec;setcdir(CDIR);dispoff(!DEBUG);
command({txf -npcut }|
{ -i }|TEMP2|{_mopterm.eml}|
{ -o }|TEMP2|{_mopterm.npb});
%file @nowfile2(TEMP2|{_mopterm.npb},
TEMP);
dispoff({No});
delfile(TEMP2|{_mopterm.eml});
delfile(TEMP2|{_mopterm.npb});
write(LOG2|{TITLE\NAPMAIL.TXT},
file|{ }|TITLE|{ \n});
receive(TEMP2|{_mopterm.eml});
type({2\n});im({Yes})});
});
},
{◆次頁はありません◆\n>},
{wait(2);
case(@nochar(@tail(@laststr,{◆\n>}))>0,
{Yes},{im({Yes})},{No},{im({No})})},
{(1:受信 2:送信 3:送信簿 0:その他 E:終了)\n>},
{wait(2);
case(@nochar(@tail(@laststr,{E:終了)\n>}))>0,
{Yes},{im({Yes})},{No},{im({No})})});
});
stoprec;delfile(TEMP2|{_mopterm.eml});
};
mkdir2(LOG2|{TITLE});delfile(TEMP2|{_MOPTERM.EML});
type({READ NEW\n});receive(TEMP2|{_MOPTERM.EML});AllText;dispoff(!DEBUG);
command(ARCHIVER|{ a }|LOG2|{NIFMAIL.lzh }|TEMP2|{*.eml});
command(ARCHIVER|{ a }|LOG2|{NAPMAIL.lzh }|TEMP2|{*.npb});
command({del }|TEMP2|{*.eml});command({del }|TEMP2|{*.npb});dispoff({No});